Repository navigation
docs: document embedding and pruning for private packages [RED-1310] - #754
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
sorccu
force-pushed
the
simo/RED-1310-dependency-bundling-docs
branch
from
October 29, 2026 12:42
4466eb2 to
2be210c
Compare
…ht Check Suites (RED-1310) Add a page covering bundle.packages.embed, automatic lockfile pruning (CHECKLY_LOCKFILE_PRUNE, CHECKLY_LOCKFILE_PRUNE_TIMEOUT), bundle.packages.prune and runner.registries, framed around private packages from internal registries Checkly cannot reach. Link it from Custom Dependencies and the project config reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ncies (RED-1310) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd the cache version (RED-1310) The CLI bundles .npmrc files automatically since CLI version 8.15.0, so the checks.include step now only applies to older versions. Add bun to the supported package managers, list the current dependency cache inputs, and document runner.cache.install.version and --refresh-cache for forcing a reinstall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Explain what each embed, prune and runner.registries snippet does, fix the member-scoped keep example to target a library member instead of the test member, and add complete examples for a pnpm monorepo with an internal registry and for a private scope behind a VPN-only mirror. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1310) Add a section with an example that prunes development tooling from the bundled package.json files, and link to it from the Custom Dependencies caching and troubleshooting sections. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the "Available since" CLI version callouts and the instructions for older CLI versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Checkly (RED-1310) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-1310) Describe the lockfile-pruning case by the shared lockfile, merge the two bundle.packages.prune rows, and say the Yarn Berry metadata lookup runs whenever checks are bundled while tarball downloads stay cached. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Validation: workspace members matched by an embed pattern are skipped, and an entry matching only members fails validation - runner.registries ignores bundled credentials and TLS settings; tokens go in its auth entries - Cache notes: only prune patterns and ! exclusions that match nothing leave the cache untouched; the cache-input list is non-exhaustive - Custom Dependencies: warn that .npmrc tokens are uploaded, drop the hard-coded token examples, split the Artifactory example so the token isn't part of the registry URL, and align "How caching works" - Yarn Berry, like bun, needs its registry URLs in .npmrc - PlaywrightCheck examples no longer include .npmrc explicitly Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ED-1310) pnpm sibling workspace members are now skipped silently, so the ! workaround goes. The runner serves embedded packages from the bundle alone, so a pinned embed entry must cover every lockfile version of the package, and embedded packages never go through routing rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1310) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…310) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sorccu
force-pushed
the
simo/RED-1310-dependency-bundling-docs
branch
from
October 29, 2026 17:15
2fe5166 to
d955ad2
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (RED-1310) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
The new page competes with the Custom Dependencies page. I'll try to harmonize them in a separate PR. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linear: RED-1310
Adds Private Packages and Internal Registries (
detect/synthetic-monitoring/playwright-checks/private-packages-and-internal-registries), next to Custom Dependencies in the Playwright Check Suites nav. It documents the CLI options for projects whose private packages come from a registry Checkly runners can't reach, none of which were documented before:bundle.packages.embed: ship private package tarballs inside the code bundle. Covers entry syntax, validation, credentials (needed only where the CLI runs), version pins, the 30 MB compressed code bundle limit, its error, and that Enterprise plans can raise it to 100 MB, and how dependencies of dependencies are handled.CHECKLY_LOCKFILE_PRUNEandCHECKLY_LOCKFILE_PRUNE_TIMEOUT.bundle.packages.prune: remove dependencies from the bundledpackage.jsonfiles, including member-scopedremove/keep, using pruning to speed up installs, and keeping packages the install itself needs (such astypescriptfor lifecycle scripts).runner.registries: route the runner's install to registries it can reach.Each config snippet comes with an explanation of what it does. An Examples section walks through a pnpm monorepo with an internal registry and a private scope behind a VPN-only mirror.
Custom Dependencies now matches current CLI behaviour:
.npmrcfiles are bundled automatically, so thechecks.includestep is gone. The page warns that bundled.npmrctokens are uploaded, and drops the hard-coded token examples.registry=line and a registry-scoped token, so the token is no longer part of the registry URL.runner.cache.install.versionand--refresh-cache.constructs/project.mdxgetsbundleandrunnerrows that link to the new sections.Depends on
The page describes behaviour after these changes. Merge this after all of them have shipped:
embedpattern skips pnpm workspace members silently.embedentry must cover every lockfile version of the package.checkly testandcheckly deploywarn when anembedentry leaves lockfile versions of a package unembedded.Affected Components
Notes for the Reviewer
checkly@10.0.0. Everycheckly.config.tsexample type-checks against it. The embed, prune and dependencies-of-dependencies behaviour was run on pnpm workspaces built like the examples.Other changes
PlaywrightCheckconstruct examples no longer add.npmrctoinclude.🤖 Generated with Claude Code